package com.kitty.game.utils;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface Const {
    //游戏消耗元宝还是积分 元宝为1
    int systemType = 1;
    String sessionTeam = "team:";
    String zuoqiChoujiang = "zuoqiChoujiang";//珍宝信息
    String choujiangType = "choujiangType";//珍宝信息
    String npcIdSet = "npcIdSet";//进入地图存入NPCID 换图循环发送消失
    String heartTime = "heartTime";//心跳时间
    String chatSpeed = "chatSpeed";//聊天速度
    String LAST_HEART_TIME = "last_heart_time"; // 上一次的心跳时间
    String REQ_CURR_TIME = "req_current_time"; //当前封包请求时间

    int mailGold = 0;//金元宝
    int mailSiver = 1;//银元宝
    int mailMoney = 2;//金钱
    int mailDaijinjuan = 3;//代金券
    int mailEquip = 4;//装备 交易
    int mailItem = 5;//普通道具
    int mailShoushi = 6;//首饰
    int mailPet = 7;//宠物
    int mailDaohang = 8; // 道行
    int mailPointItem = 9; //

    int jifen = 10; //


    int mailFabao = 11; //


    int rewardWupin = 60;
    int rewardChongwu = 61;
    int rewardJingguai = 62;
    int rewardFabao = 63;
    int rewardShoushi = 64;
    int rewardJifen = 65;
    int rewardGuiqi = 66;
    int rewardWuhun = 67;
    int rewardYinde = 68;
    int rewardJinyuanbao = 69;
    int rewardYinyuanbao = 70;
    int rewardLuoshu = 71;
    int rewardHunqi = 72;
    int rewardHunqiao = 73;
    int rewardJingYan = 74;
    int rewardTao = 75;
    int rewardChenghao = 76;
    int rewardqimenJifen = 77;
    int rewardhaoxinzhi = 78;

    int newMailDaohang = 49; // 道行
    int newMailEquip = 50;//装备
    int newMailItem = 51; //物品
    int newMailShoushi = 52; //首饰
    int newMailPet = 53; //宠物
    int newJifen = 54;  //积分
    int newMailFabao = 55;  //法宝

    //刷道排行榜
    String xiangyaoRank = "xiangyaoRank";
    String fumoRank = "fumoRank";
    String feixianduxieRank = "feixianduxieRank";
    String xiangyaoRank2 = "xiangyaoRank2";
    String fumoRank2 = "fumoRank2";
    String feixianduxieRank2 = "feixianduxieRank2";


    int fightType_monster = 1;//野怪
    int fightType_PK = 2;//PK
    int fightType_chubao = 3;//除暴
    int fightType_chuyao = 4;//刷道
    int fightType_fumo = 10;//刷道
    int fightType_boss = 5;//Boss
    int fightType_xiuxing = 6;//修行 修行
    int fightType_xinjun = 7;//挑战星君
    int fightType_zhangmen = 8;//挑战掌门
    int fightType_superboss = 9;//挑战超级boss
    int fightType_pirate = 11;//挑战海盗
    int fightType_baibangmang = 12;//白帮忙帮派使者
    int fightType_feixianduxie = 13;//刷道
    int fightType_xing = 14;//天星
    int fightType_dixing = 141;//地星
    int fightType_shidao_yuanmo = 15;//元魔
    int fightType_shidao_pk = 16;//试道pk
    int fightType_songshu = 17;//试道pk
    /**
     * 上古妖王
     */
    int fightType_shanggu = 18;
    /**
     * 刷道, 新定义
     */
    int fightType_shuadao = 19;
    int fightType_shijuezhen = 20;//修炼 十绝阵
    /**
     * 悬赏任务对应的战斗
     */
    int fightType_xuanshang = 21;
    /**
     * 万年老妖
     */
    int fightType_wannian = 22;
    /**
     * 英雄会
     */
    int fightType_yingxionghui = 23;
    /**
     * 证道殿
     */
    int fightType_zhengdaodian = 24;
    /**
     * 宠物飞升
     */
    int fightType_petFly = 25;
    /**
     * 帮派日常
     */
    int fightType_partyDaily = 26;
    /**
     * 强制PK
     */
    int fightType_forcePK = 27;
    /**
     * 神魔挑战
     */
    int fightType_devil = 28;
    /**
     * 地图守护神
     */
    int fightType_mapGuardian = 29;
    /**
     * 月道行试道元魔
     */
    int fightType_month_shidao_yuanmo = 30;
    /**
     * 月道行试道pk
     */
    int fightType_month_shidao_pk = 31;
    /**
     * 战神
     */
    int fightType_zhanShen = 32;
    /**
     * 炼狱冥炎
     */
    int fightType_lymy = 33;

    /**
     * 修法任务
     */
    int fightType_xiufa = 34;

    /**
     * 七杀星君
     */
    int fightType_qisha = 41;



    /**
     * 九天真君
     */
    int jiutian = 42;

    /*魔龙吞天*/
    int molongtuntian = 43;

    /*魔龙之尾*/
    int molongzhiwei = 44;

    /*魔龙之眼*/
    int molongzhiyan = 45;

    /*魔龙之首*/
    int molongzhishou = 46;

    /*二星魔龙吞天*/
    int molongtuntian2 = 71;

    /*二星魔龙之尾*/
    int molongzhiwei2 = 72;

    /*二星魔龙之眼*/
    int molongzhiyan2 = 73;

    /*二星魔龙之首*/
    int molongzhishou2 = 74;

    /*魔龙之爪*/
    int molongzhizhua = 47;

    /*二星魔龙之爪*/
    int molongzhizhua2 = 70;

    /**
     * 二星炼狱冥炎
     */
    int fightType_lymy2 = 75;
    /**
     * 怪物攻城共用奖励
     */
    int fightType_tianbingshenjiang = 77;

    /**
     * 狂狮怪
     */
    int kuangshi = 78;
    /**
     * 白骨精
     */
    int baigu = 79;
    /**
     * 百花羞
     */
    int baihua = 80;
    /**
     * 百年刺猬
     */
    int ciwei = 81;
    /**
     * 百年象精
     */
    int xiangjing = 82;
    /**
     * 百年猪妖
     */
    int zhuyao = 83;
    /**
     * 孔雀妖姬
     */
    int kongque = 84;
    /**
     * 罗刹王
     */
    int luocha = 85;
    /**
     * 牛魔王
     */
    int niumo = 86;
    /**
     * 夜叉王
     */
    int yecha = 87;
    /**
     * 萝卜桃子
     */
    int luobotaozi = 88;
    /**
     * 萝卜桃子
     */
    int mijing = 89;

    int fightType_yabiao = 90;
    int fightType_yabiao2 = 91;



    /*
     * 真武大帝
     */
    int shidi =76;

    /*
    * 九幽大帝
    */
    int jiuyou =48;

    /*
     * 真武大帝
     */
    int zhenwu =49;


    /*
     * 邪灵大帝
     */
    int xieling =50;

    /*
     * 杀戮大帝
     */
    int shalu =51;
    /*
    *大日金乌
    */
    int darijinwu =52;

    /*
    挑战精灵
    */
    int fightType_elves =53;
    /*
    挑战天界叛逆
     */
    int fightType_daysoldier= 54;
    /*
    挑战地府叛逆
     */
    int fightType_Undergroundrebels= 55;
    /*
    挑战异族
     */
    int fightType_Alienintrusion = 56;


    /*
     * 天杨戬
     */
    int tianyangjian =57;

    /*
     * 天哪吒
     */
    int tiannezha =58;
    /*
     * 天孔宣
     */
    int tiankongxuan =59;
    /*
     * 天太白
     */
    int tiantaibai =60;
    /*
     * 天李靖
     */
    int tianlijing =61;
    /*
     * 天雷震子
     */
    int tianleizhenzi =62;
    /*
     * 天帝
     */
    int tiandi =63;
    /*
     * 镇妖塔妖怪
     */
    int fightType_Zhengyaotaoyaoguai =64;

    /*
    桃柳林杀鬼
     */
     int getFightType_Taoliulinshagui =65;

    /**
     * 变异星君
     */
    int fightType_bianyixingun =66;

    /**
     * 北海烟花/////
     */
    int fightType_yanhuan_nianshou =67;
    //财神
    int fightType_caiShen = 68;

    //福星
    int fightType_fuxing = 69;

    short fantianyin = 8013;// 8007 九火神龙罩 8013 翻天印 8015 定海珠 8016 混元金斗

    short hunyuanjindou = 8016;

    /**装备位置枚举*/

    /**
     * 武器装备位置
     */
    byte POS_WEAPON = 1;


    /**
     * 遇怪的有效范围周长
     */
    int MONSTER_PERIMETER = 10;


    /**
     * 形象类型，NPC类型
     */
    short CHARATER_NPC = 4;


    /**
     * 加点方案，高物伤
     */
    byte POINT_PHYSICAL = 1;
    /**
     * 加点方案，高法伤
     */
    byte POINT_MAGIC = 2;
    /**
     * 加点方案，自定义
     */
    byte POINT_SELF = 3;


    /**门派类型*/
    /**
     * 金系
     */
    byte SCHOOL_METAL = 1;
    /**
     * 木系
     */
    byte SCHOOL_WOOD = 2;
    /**
     * 水系
     */
    byte SCHOOL_WATER = 3;
    /**
     * 火系
     */
    byte SCHOOL_FIRE = 4;
    /**
     * 土系
     */
    byte SCHOOL_EARTH = 5;


    /**
     * 性别类型
     */
    byte SEX_MALE = 1;
    byte SEX_FEMALE = 2;

    /**
     * 遇野外怪需要的角色最小等级
     */
    short WILD_MONSTER_MIN_LEVEL = 15;

    /**
     * 1秒对应的毫秒数
     */
    long SECOND = 1000;
    /**
     * 1分钟对应的毫秒数
     */
    long MINUTE = 60 * SECOND;

    /**
     * 每日重置时间点(5点整点)
     */
    int RESET_HOUR = 0;

    /**
     * 主界面的icon
     */
    byte ICON_TYPE_MAIN = 1;
    /**
     * Tab 的icon
     */
    byte ICON_TYPE_TAB = 2;

    byte ICON_TYPE_MAIN2 = 3;


    /**
     * 技能的类型
     */
    int MAY_CAST_NORMAL = 1; // 平时可以使用
    int MAY_CAST_IN_COMBAT = 2; // 战斗时可以使用
    int MAY_CAST_SELF = 3; // 可以对自己使用(obsoleted)
    int MAY_CAST_FRIEND = 4; // 可以对友人使用
    int MAY_CAST_ENEMY = 5; // 可以对敌人使用
    int MAY_CAST_ALL_FRIENDS = 6; // 可以对全体队友使用(obsoleted)
    int MAY_CAST_ALL_ENEMIES = 7; // 可以对全体敌人使用(obsoleted)
    int TYPE_SHIMEN = 8; // 师门类技能
    int TYPE_LIVING = 9; // 生活类技能
    int TYPE_DEVELOP = 10;// 研发类技能
    int TYPE_MULTI_PHY_ATTACK = 11;// 物理群伤技能
    int TYPE_DEVELOP_EX = 12;// 非天生研发类技能
    int CANNT_CAST_GUARD = 13;// 不能对守护使用的技能
    int MAY_CAST_DEAD = 14;// 可以对死亡的目标使用
    int CANNT_CAST_SELF = 15;// 不能对自己使用
    /**
     * 技能光效
     */
    int EFFECT_TO_SELF = 1; // 对自己的技能光效
    int EFFECT_TO_OTHERS = 2; // 对敌方的技能光效
    int EFFECT_TO_BOTH = 3; // 对双方的技能光效


    /**
     * 角色头顶状态
     */

    byte TITLE_IN_COMBAT = 1; // 正在战斗中
    byte TITLE_IN_TEAM = 2; // 正在队伍中
    byte TITLE_TEAM_LEADER = 3; // 队长
    byte TITLE_TEAM_LEADER_TEAM_FULL = 4; // 队长并且队伍满员
    byte TITLE_TEAM_MEMBER = 5; // 队员
    byte TITLE_LOOKON = 6; // 正在观战中
    byte TITLE_RED_NAME = 7; // 红名
    byte TITLE_INSIDER = 8; // 位列仙班（服务端当前未实现，不能用）
    byte TITLE_IN_SHADOW = 9; // 正在隐身中
    byte TITLE_BREAK_FLAG = 10; // 新帮战军旗打断
    byte TITLE_OCCUPY_FLAG = 11; // 新帮战占领军旗
    byte TITLE_IN_GATHER = 12; // 新帮战采集


    /**
     * 助人为乐选择奖励的类型key，保存在RoleTalk的临时选项中
     */
    String HELP_PEOPLE_REWARD_TYPE_KEY = "help_people_rewardType";
    /**
     * 通天塔奖励类型key
     */
    String TOWER_REWARD_TYPE_KEY = "tower_rewardType";
    String XIULIAN_NO_REWARD_TIP_KEY = "xiulian_no_reward_tip";

    /**
     * 战斗镜像属性系数
     */
    String FIGHT_MIRROR_PROP_RATE_KEY = "mirror_prop_rate";

    /**
     * 通天塔飞升类型，使用金钱
     */
    byte FLY_UP_TYPE_USING_MONEY = 1;
    /**
     * 通天塔飞升类型，使用元宝
     */
    byte FLY_UP_TYPE_USING_GOLD = 2;

    String ROLE_RESOURCE_NOT_ENOUGH = "你的{0}不足。";
    String MONEY_NAME = "金钱";
    String GOLD_NAME = "元宝";
    String DAOHANG_NAME = "道行";
    String EXP_NAME = "经验";
    String DROP_JIFEN = "积分";
    String DROP_BANGGONG = "帮贡";
    String DROP_LUOSHU = "洛书经验";
    String DROP_YINDE = "阴德";
    String DROP_WULING = "武灵值";
    String DROP_FABAO = "法宝";
    String DROP_PET = "宠物";
    String DROP_SHOUSHI = "首饰";
    String DROP_PET_STONE = "妖石";
    String DROP_ITEM = "道具";


    String PET_STONE_NAME = "妖石";
    String CHANGE_CARD_NAME = "变身卡";
    String PET_NAME = "宠物";
    String FABAO_NAME = "法宝";
    String JEWELRY_NAME = "首饰";
    String POT_NAME = "潜能";
    String Yinde_NAME = "阴德";
    /*精气*/
    String Jingqi_NAME ="精气";
    String Gold_NAME = "金元宝";
    String LEAVE_BUTTON = "[离开]";
    String FINISH_NAME = "完成";
    String NOT_LEADER = "既然是集体行动，还是老老实实听从队长的指挥啦。";

    /**
     * 投票类型，未操作
     */
    short BALLOT_TYPE_UN_OP = 0;
    /**
     * 投票类型，同意
     */
    short BALLOT_TYPE_AGREEN = 1;
    /**
     * 投票类型，不同意
     */
    short BALLOT_TYPE_DISAGREE = 2;

    /**
     * 加点方案类型，高物伤
     */
    byte ATTRIB_TYPE_PHYCIAL = 1;
    /**
     * 加点方案类型，高法伤
     */
    byte ATTRIB_TYPE_MAGIC = 2;
    /**
     * 加点方案类型，自定义
     */
    byte ATTRIB_TYPE_SELF = 3;

    /**
     * brodcast msg类型 role
     */
    String BRODCAST_MSG_TYPE_ROLE = "role";
    /**
     * brodcast msg类型 npc
     */
    String BRODCAST_MSG_TYPE_NPC = "npc";


    /**
     * 角色退出的原因
     */
    int LGT_SDK_SWITCH = 1; // SDK切换账号
    int LGT_SDK_LOGOUT = 2; // SDK登出
    int LGT_SDK_QUIT = 3; // SDK退出
    int LGT_ESC_QUIT = 4; // ESC键退出
    int LGT_BACK_LOGIN = 5; // 返回登录
    int LGT_SELECT_CHAR_1 = 6; // 选择角色1
    int LGT_SELECT_CHAR_2 = 7; // 选择角色2
    int LGT_REFUSE_AGREEMENT = 8; // 拒绝免责声明


    /**
     * 帐号在线状态
     */
    byte CHAR_LIST_T_NONE = 0;// 不在线
    byte CHAR_LIST_T_ONLINE = 1;// 在线
    byte CHAR_LIST_T_TRUSTEESHIP = 2;// 托管
    byte CHAR_LIST_T_CROSSSERVER = 3;// 跨服中

    String TREASURE_SUPER_SENIOR_ITEM_NAME = "特级藏宝图";
    String TREASURE_SUPER_ITEM_NAME = "超级藏宝图";
    String TREASURE_NORMAL_ITEM_NAME = "藏宝图";
    String ZHENGDAO_ITEM_NAME = "证道魂";
    String CHONG_FEN_SAN_ITEM_NAME = "宠风散点数";
    String ZI_QI_HONG_MENG_ITEM_NAME = "紫气鸿蒙点数";
    String QINAG_DAO_LING_SHANG_LING_ITEM_NAME = "强盗领赏令";
    String MIJINGJIFEN_NAME = "秘境积分";
    /**
     * 普通藏宝图对应的挖宝类型
     */
    byte DIG_TREASURE_TYPE_NORMAL = 1;
    /**
     * 超级藏宝图对应的挖宝类型
     */
    byte DIG_TREASURE_TYPE_SUPER = 2;
    /**
     * 超级藏宝图对应的挖宝类型
     */
    byte DIG_TREASURE_TYPE_SUPER_SENIOR = 3;

    /**
     * gather类型，任务中采集植物
     */
    byte GATHER_TYPE_PLANT = 1;
    /**
     * gather类型，挖宝
     */
    byte GATHER_TYPE_TREASURE = 2;


    /**
     * 身上装备的部位
     */
    byte WEAPON = 1; // 武器
    byte HELMET = 2; // 头盔
    byte ARMOR = 3; // 衣服
    byte NECKLACE = 4; // 项链
    byte BALDRIC = 5; // 玉佩
    byte LEFT_WRIST = 6; // 左手镯
    byte RIGHT_WRIST = 7; // 右手镯
    byte TALISMAN = 8; // 魂器
    byte ARTIFACT = 9; // 法宝
    byte BOOT = 10; // 鞋子
    byte fly_type =21;//飞行

    byte BACK_WEAPON = 11; // 备用武器
    byte BACK_HELMET = 12; // 备用头盔
    byte BACK_ARMOR = 13; // 备用衣服
    byte BACK_BOOT = 14; // 备用鞋子
    byte BACK_BALDRIC = 15; // 备用玉佩
    byte BACK_NECKLACE = 16; // 备用项链
    byte BACK_LEFT_WRIST = 17; // 备用左手镯
    byte BACK_RIGHT_WRIST = 18; // 备用右手镯
    byte BACK_ARTIFACT = 19; // 备用法宝
    byte BACK_fly_type =20;//


    /**
     * 物品叠加的类型
     */
    short ITEM_COMBINED_NO = 0; // 不能堆叠
    short ITEM_COMBINED_NM = 1; // 普通堆叠，道具不带 iid
    short ITEM_COMBINED_EX = 2; // 道具带 iid 的堆叠


    /**
     * 物品的类型
     */
    short EQUIPMENT = 1;   // 装备
    short MEDICINE = 2;   // 药品
    short TASK_ITEM = 3;   // 任务物品
    short BOOK = 4;   // 书籍
    short SPECIAL_ITEM = 5;   // 特殊物品
    short UPGRADE_ITEM = 6;   // 升级物品
    short ARTIFACT_ITEM = 7;   // 法宝
    short TELEPORT = 8;   // 传送道具
    short SERVICE_ITEM = 9;   // 付费服务道具
    short CHARGE_ITEM = 10;  // 付费功能道具
    short CARPET = 11;  // 地毯道具
    short CHANGE_LOOK_CARD = 12;  // 变身卡
    short GODBOOK = 13;  // 天书
    short GIFT = 14;  // 礼包

    short FURNITURE = 18;  // 家具
    short PLANT_MATERIAL = 19;  // 种植收获的材料
    short DISH = 20;  // 菜肴
    short FISH = 21;  // 居所中钓到的鱼
    short EFFECT = 23;  // 特效
    short FOLLOW_ELF = 24;  // 跟随小精灵
    short CUSTOM = 25;  // 自定义外观道具
    short FIREWORK = 26;  // 烟花

    /**
     * 一天道行的点数
     */
    int ONE_DAY_POINT = 1300;
    /**
     * 一年道行的天数
     */
    int ONE_YEAR_DAY = 360;
    /**
     * 一年道行的点数
     */
    int ONE_YEAR_POINT = ONE_YEAR_DAY * ONE_DAY_POINT;
    /**
     * 道行上限
     */
    long MAX_DAOHANG = 2000000000L * ONE_DAY_POINT;
    /**
     * 道行初始值
     */
    long INIT_DAOHANG = 100 * ONE_DAY_POINT;

    /**
     * 宠物武学上限
     */
    int MAX_PET_WUXUE = 2000000000;
    /**
     * 宠物武学初始值
     */
    int INIT_PET_WUXUE = 100;

    /**排行榜类型*/
    /**
     * 宠物武学
     */
    short RANK_PET_MARTIAL = 1;
    /**
     * 宠物物理伤害
     */
    short RANK_PET_PHY_POWER = 2;
    /**
     * 宠物法术伤害
     */
    short RANK_PET_MAG_POWER = 3;
    /**
     * 宠物速度
     */
    short RANK_PET_SPEED = 4;
    /**
     * 宠物防御
     */
    short RANK_PET_DEFENSE = 5;
    /**
     * 宠物月武学
     */
    short RANK_PET_MONTH_MARTIAL = 6;
    /**
     * 宠物战力
     */
    short RANK_PET_ZHANLI = 7;

    /**
     * 装备页
     */
    List<Byte> MAIN_PAGE = Arrays.asList((byte) 21,(byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5, (byte) 6, (byte) 7, (byte) 8, (byte) 9, (byte) 10  ,(byte) 40);
    List<Byte> BACK_PAGE = Arrays.asList((byte) 11, (byte) 12, (byte) 13, (byte) 14, (byte) 15, (byte) 16, (byte) 17, (byte) 18, (byte) 19, (byte) 20  ,(byte) 40);

    /**
     * 试道场地图ID
     */
    int SHIDAO_MAPID = 38004;
    String NOT_CHECK_CHANGE_MAP = "not_check_change_map";


    /**
     * 地府竞技场地图ID
     */
    int DIFU_SHIDAO_MAPID = 60007;


    /**
     * 指引的类型
     */
    byte INSTRUCTION_LEVEL_UP = 1;
    byte INSTRUCTION_TASK_END = 2;
    byte INSTRUCTION_TALK_END = 3;


    /**
     * 给他人使用变身卡使用
     */
    String CHANGE_CARD = "changeCardToOther";

    /**
     * 提交宠物类型
     */
    byte SUBMIT_PET_TYPE_NORMAL = 1;
    byte SUBMIT_PET_TYPE_FEISHENG = 2;
    byte SUBMIT_PET_TYPE_FEED = 3;  //饲养宠物的提交
    byte SUBMIT_PET_TYPE_INNER_ALLCHEMY = 4; // 内丹修炼宠物提交
    byte SUBMIT_PET_TYPE_FEISHENG_GHOST = 5; // 内丹修炼宠物提交
    byte SUBMIT_PET_TYPE_BUYBACK = 100;  // 销毁宠物的提交(目前只有客户端配置了该常量)

    String SUBMIT_PET_TYPE = "submit_pet_type";


    byte BUYBACK_TYPE_PET = 1;//要销毁的宠物类型
    byte BUYBACK_TYPE_EQUIPMENT = 2;//要销毁的装备类型

    String DESTROY = "DESTROY";

    /**
     * 道具
     */
    int REWARD_TYPE_ITEM = 1;
    /**
     * 首饰
     */
    int REWARD_TYPE_JEWELRY = 2;
    /**
     * 代金券
     */
    int REWARD_TYPE_VOUCHER = 3;
    /**
     * 守护
     */
    int REWARD_TYPE_GUARD = 4;
    /**
     * 宠物
     */
    int REWARD_TYPE_PET = 5;
    /**
     * 法宝
     */
    int REWARD_TYPE_ARTIFACT = 6;
    /**
     * 阴德
     */
    int REWARD_TYPE_yinde = 7;
    /**
     * 魂器
     */
    int REWARD_TYPE_hunqi = 8;
    /**
     * 变异令牌
     */
    int REWARD_TYPE_bianyiLinpai = 9;
    /**
     * 金币
     */
    int REWARD_TYPE_jinbi = 10;
    /**
     * 洛书经验
     */
    int REWARD_TYPE_luoshuexp = 11;

    /**
     * 武魂经验
     */
    int REWARD_TYPE_wulingzhi = 12;
    /**
     * 鬼气
     */
    int REWARD_TYPE_guiqi = 13;
    /**
     * 金元宝
     */
    int REWARD_TYPE_jinyuanbao = 14;
    /**
     * 银元宝
     */
    int REWARD_TYPE_yinyuanbao = 15;
    /**
     * 帮贡
     */
    int REWARD_TYPE_banggong= 16;
    /**
     * 心跳检测分钟数，这些分钟内连续有心跳数量有问题，则判断为使用了加速器
     */
    int HEART_CHECK_MINUTE_COUNT = 1;
    /**
     * 允许的每分钟心跳包的最大数量，正常数量是6个。超过这个非法数量则判断有问题
     */
    int HEART_COUNT_PER_MINUTE_UNLAW = 9;
    /**
     * 单分钟内出现心跳包的最大数量
     */
    int HEART_COUNT_SINGLE_UNLAW = HEART_COUNT_PER_MINUTE_UNLAW + 1;
    /**
     * 检测到心跳非法再次登录需要等待的分钟数
     */
    int HEART_UNLAW_BLOCK_MINUTE = 10;


    String CLIENT_ACTIVE = "1";  //-- 激活状态
    String CLIENT_SILENT = "2";  // 激活了，但很长一段时间没输入了
    String CLIENT_INACTIVE = "3";  // 未激活状态

    /**人物奖励提示*/
    String REWARD_ROLE_TIPS ="reward_role_tips";
    /**奖励提示*/
    String REWARD_PET_TIPS ="reward_pet_tips";

    /**
     * 通天塔地图ID
     */
    int TOWER_MAPID = 37000;


    /**通知类型*/
    byte NOTICE_MSG = 1; // 对应RespMsg类型
    byte NOTICE_NOTIFYMISC = 2; // 对应RespNotifyMisc类型
    byte NOTICE_NOTIFYMISCEX = 3; // 对应RespNotifyMiscEx类型

    /**创建帮派最小人物等级*/
    int PARTY_CREATE_MIN_LEVEL = 40;
    /**创建帮派时需要消耗的金元宝*/
    int PARTY_CREATE_NEED_GOLD = 200000;
    /**帮派使者npc id*/
    int PARTY_EMISSARY_NPCID = 14997;
    /**帮派总坛地图*/
    int PARTY_MAPID = 26000;
    int PARTY_EXIT_MAPID = 5000;
    int PARTY_EXIT_X = 95;
    int PARTY_EXIT_Y = 64;
    /**帮派继承人过渡天数*/
    int HEIR_DAY = 7;
    /**改头换面卡*/
    String GAI_TOU_HUAN_MAIN_CARD = "改头换面卡";

    /**称号类型 帮派*/
    String TITLE_TYPE_PARTY = "帮派";
    /**称号类型 试道大会*/
    String TITLE_TYPE_SHIDAO = "试道大会";

    int JOB_KICKOUT          = -2;     // 开除
    int JOB_UNCHANGED        = -1;     // 职位没有变动

    /**帮派红点相关通知*/
    short NOTIFICATION_PARTY = 1;
    short NOTIFICATION_PARTY_REQUEST = 2;
    short NOTIFICATION_REMOVE_REQUES = 3;

    /**帮派职位*/
    String PARTY_JOB_BANG_ZHU = "帮主";
    String PARTY_JOB_FU_BANG_ZHU = "副帮主";
    String PARTY_JOB_XUAN_WU_ZL = "玄武长老";
    String PARTY_JOB_ZHU_QUE_ZL = "朱雀长老";
    String PARTY_JOB_BAI_HU_ZL = "白虎长老";
    String PARTY_JOB_QING_LONG_ZL = "青龙长老";
    String PARTY_JOB_CANG_LAN_HF = "苍兰护法";
    String PARTY_JOB_YUAN_LEI_HF = "远雷护法";
    String PARTY_JOB_JIAN_FENG_HF = "尖峰护法";
    String PARTY_JOB_YE_FU_HF = "夜伏护法";
    String PARTY_JOB_YUN_HAI_HF = "云海护法";
    String PARTY_JOB_DE_XIN_TZ = "德馨堂主";
    String PARTY_JOB_SU_XIA_TZ = "素侠堂主";
    String PARTY_JOB_AN_LONG_TZ = "暗龙堂主";
    String PARTY_JOB_WEI_WU_TZ = "虎威堂主";
    String PARTY_JOB_ZI_YUN_TZ = "紫云堂主";
    String PARTY_JOB_TING_XUE_TZ = "听雪堂主";
    String PARTY_JOB_MENG_XI_TZ = "梦溪堂主";
    String PARTY_JOB_XUAN_FENG_TZ = "玄风堂主";
    String PARTY_JOB_BANG_PAI_JY = "帮派精英";
    String PARTY_JOB_BANG_ZHONG = "帮众";

    /**帮派管理职位*/
    List<String> MANAGER_JOBS = Arrays.asList(
            PARTY_JOB_BANG_ZHU, PARTY_JOB_FU_BANG_ZHU, PARTY_JOB_XUAN_WU_ZL, PARTY_JOB_ZHU_QUE_ZL, PARTY_JOB_BAI_HU_ZL, PARTY_JOB_QING_LONG_ZL, PARTY_JOB_CANG_LAN_HF, PARTY_JOB_YUAN_LEI_HF, PARTY_JOB_JIAN_FENG_HF, PARTY_JOB_YE_FU_HF,
            PARTY_JOB_YUN_HAI_HF, PARTY_JOB_DE_XIN_TZ, PARTY_JOB_SU_XIA_TZ, PARTY_JOB_AN_LONG_TZ, PARTY_JOB_WEI_WU_TZ, PARTY_JOB_ZI_YUN_TZ, PARTY_JOB_TING_XUE_TZ, PARTY_JOB_MENG_XI_TZ, PARTY_JOB_XUAN_FENG_TZ
    );

    short PARTY_JOB_ID_BANG_ZHU = 700;
    short PARTY_JOB_ID_FU_BANG_ZHU = 600;
    short PARTY_JOB_ID_XUAN_WU_ZL = 501;
    short PARTY_JOB_ID_ZHU_QUE_ZL = 502;
    short PARTY_JOB_ID_BAI_HU_ZL = 503;
    short PARTY_JOB_ID_QING_LONG_ZL = 504;
    short PARTY_JOB_ID_CANG_LAN_HF = 405;
    short PARTY_JOB_ID_YUAN_LEI_HF = 404;
    short PARTY_JOB_ID_JIAN_FENG_HF = 403;
    short PARTY_JOB_ID_YE_FU_HF = 402;
    short PARTY_JOB_ID_YUN_HAI_H = 401;
    short PARTY_JOB_ID_DE_XIN_TZ = 308;
    short PARTY_JOB_ID_SU_XIA_TZ = 307;
    short PARTY_JOB_ID_AN_LONG_TZ = 306;
    short PARTY_JOB_ID_WEI_WU_TZ = 305;
    short PARTY_JOB_ID_ZI_YUN_TZ = 304;
    short PARTY_JOB_ID_TING_XUE_TZ = 303;
    short PARTY_JOB_ID_MENG_XI_TZ = 302;
    short PARTY_JOB_ID_XUAN_FENG_TZ = 301;
    short PARTY_JOB_ID_JI_CHENG_REN = 200;
    short PARTY_JOB_ID_BANG_PAI_JY = 150;
    short PARTY_JOB_ID_BANG_ZHONG = 100;

    /**帮派权限，值越小，权限越高*/
    byte PARTY_PERMISSION_BZ = 1; // 帮主权限
    byte PARTY_PERMISSION_FBZ = 2; // 副帮主权限
    byte PARTY_PERMISSION_ZL = 3; // 长老权限
    byte PARTY_PERMISSION_HF = 4; // 护法权限
    byte PARTY_PERMISSION_TZ = 5; // 堂主权限
    byte PARTY_PERMISSION_JY = 6; // 帮派精英权限
    byte PARTY_PERMISSION_BZONG = 7; // 帮众权限

    /**帮派捐献金钱1000000*/
    int PARTY_DONATE_1000000 = 1000000;
    /**帮派捐献金钱10000000*/
    int PARTY_DONATE_10000000 = 10000000;

    String TITLE_NAME_SHIDAO_FIRST_kuafu = "跨服试道·天下道尊";
    String TITLE_NAME_SHIDAO_SECOND_kuafu = "跨服试道·天下道圣";
    String TITLE_NAME_SHIDAO_THIRD_kuafu = "跨服试道·天下道王";
    String TITLE_NAME_SHIDAO_FIRST = "试道王者";
    String TITLE_NAME_SHIDAO_SECOND = "试道强者";
    String TITLE_NAME_SHIDAO_THIRD = "试道勇者";





    /*元旦充值称号*/
    String TITLE_NAME_YUANDAN_1="元旦小神";
    String TITLE_NAME_YUANDAN_2="元旦大神";
    String TITLE_NAME_YUANDAN_3="元旦大仙";



    /**最大允许没有心跳时间，超过这个时间，则会执行离线操作*/
    long EXPIRE_TIME = /*10 * TimeUtil.ONE_MINUTE*/10 * TimeUtil.ONE_SECOND;

    byte SAFE_PASSWORD_WAIT_RESET_DAY = 2;

    short MAX_PLAYER_LEVEL = 125;

    short MAX_PARTY_SKILL_LEVEL = (short) Math.floor(MAX_PLAYER_LEVEL * 1.6);

    /**宠物天生技能*/
    byte PET_SKILL_INNATE = 1;
    /**宠物研发技能*/
    byte PET_SKILL_DEVELOP = 2;

    String MIJI = "秘笈";
    /**学习宠物天生技能亲密度*/
    int LEARN_PET_INNATE_SKILL_INTIMACY = 30000;
    /**学习宠物研发技能亲密度*/
    int LEARN_PET_DEVELOP_SKILL_INTIMACY = 50000;
    /**帮派红包最小的红包数量*/
    short RED_BAG_MIN_COUNT = 1000;
    /**帮派红包最大的红包数量*/
    short RED_BAG_MAX_COUNT = 30000;
    /**帮派红包最小人物等级*/
    short RED_BAG_MIN_LEVEL = 50;
    /**帮派红包最小的成员数量*/
    byte RED_BAG_MIN_MEMBER_COUNT = 20;
    /**帮派红包发的最大数量*/
    byte RED_BAG_MAX_SEND_COUNT = 64;
    /**帮派红包过期时间*/
    int RED_BAG_EXPIRE_TIME = (int) (6 * TimeUtil.ONE_HOUR);
    /**帮派红包列表显示数量*/
    byte RED_BAG_SHOW_COUNT = 8;
    /**帮派红包保留天数*/
    int RED_BAG_KEEP_DAY = 7;
    /**帮派日志保留数量*/
    short LOG_MAX_COUNT = 200;

    /**查看玩家信息时返回MSG_CHAR_INFO_EX包的界面类型*/
    List<String> ROLEINFO_EX_DLG_TYPE = Arrays.asList("SearchUserDlg");

    int FORCEPK_MIN_LEVEL = 50;
    int FORCKPK_INIT_MONEY = 200000000;
    int FORCKPK_ADD_MONEY = 20000000;
    int FORCEPK_MAX_MONEY = 2000000000;
    /**胜利时加红名小时数*/
    int WIN_ADD_RED_HOUR = 1;
    /**传送到监狱的PK值*/
    int TRANSFER_PRISON_PKVALUE = 40;
    int PRISON_RELEASE_MONEY = 500000;
    /**持续分钟数*/
    int PRISON_MINUTE = 60;
    /**强制PK最大回合*/
    int FORCEPK_MAX_ROUND = 150;
    /**监狱地图ID*/
    int PRISON_MAPID = 5015;

    /**充值积分最大值*/
    int MAX_RECHARGE_SCORE = 600000000;


    /**对象类型 消失包要用 Todo 勿删*/
    short CHAR        = 0x0001;
    short MONSTER     = 0x0002;
    short NPC         = 0x0004;
    short ITEM        = 0x0008;
    short CHILD       = 0x0010;
    short GUARD       = 0x0020;
    int PET           = 0x8000;
    short FOLLOW_NPC  = 0x0100;
    short GATHER_NPC  = 0x0080;
    short SPECIAL_NPC = 0x0040;
    short MOVE_NPC    = 0x0200;
    short SHINVTU_NPC = 0x0400;
    short QT_NPC      = 0x0800;
    short MAP_NPC     = 0x1000;
    int MAID_NPC      = 0x10000; // 居所丫鬟
    short INN_GUEST   = 0x2000; // 客栈客人

    /**添加好友时验证等级*/
    int FRIEND_ADD_VERIFY_LEVEL = 35;
    /**添加好友验证等级分钟数*/
    int FRIEND_VERIFY_WAIT_MINUTE = 10;
    /**添加好友被拒绝两次后需要等待的分钟数*/
    int FRIEND_REFUSE_WAIT_MINUTE = 30;

    /**排序对应的中文*/
    Map<Integer, String> ORDER_CHINESE = new HashMap<Integer, String>() {{
        put(1, "一");
        put(2, "二");
        put(3, "三");
        put(4, "四");
        put(5, "五");
        put(6, "六");
        put(7, "七");
        put(8, "八");
        put(9, "九");
        put(10, "十");
    }};

    String DUNWU_ITEM_NAME = "宠物顿悟丹";
    String GOLD_ITEM_NAME = "金元宝";
    String SIVER_ITEM_NAME = "银元宝";

    /**灵气上限*/
    int MAX_NUMBUS = 30000;
    /**未飞升前的最大等级*/
    short MAX_LEVEL_NO_CHILD = 115;
    /**元婴自动飞升等级*/
    short LEVEL_NO_CHILD_FLY = 200;

    /**未飞升前的最小等级*/
    short MIN_LEVEL_NO_CHILD = 115;
    String zhjbuyPet = "zhjbuyPet";
    /**未加入阵营的最大等级*/
    short MAX_LEVEL_NO_CAMP = 130;

    short HUNQIFENGMANG = 1;
    short HUNQIHUNDENG = 2;
    short HUNQIGUIBU = 3;
    short HUNQIRUNZE = 4;
    short HUNQIBOMU = 5;
    short HUNQILUNHUI = 6;
    short HUNQIFUHU = 7;
    short HUNQISHUANGJI = 8;
    short HUNQILINGZHOU = 9;
}
